from models import Intro

def Intro_uid(uid):
    intro = Intro.query.filter_by(uid=uid).first()

    if intro is None or intro.title is None:
        return '此人很懒，没有留下介绍'
    return intro.title